package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.CrossborderalarmdetalDao;
import io.renren.entity.Crossborderalarmdetal;
import io.renren.service.CrossborderalarmdetalService;



@Service("crossborderalarmdetalService")
public class CrossborderalarmdetalServiceImpl implements CrossborderalarmdetalService {
	@Autowired
	private CrossborderalarmdetalDao crossborderalarmdetalDao;
	
	@Override
	public Crossborderalarmdetal queryObject(Integer id){
		return crossborderalarmdetalDao.queryObject(id);
	}
	
	@Override
	public List<Crossborderalarmdetal> queryList(Map<String, Object> map){
		return crossborderalarmdetalDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return crossborderalarmdetalDao.queryTotal(map);
	}
	
	@Override
	public void save(Crossborderalarmdetal crossborderalarmdetal){
		crossborderalarmdetalDao.save(crossborderalarmdetal);
	}
	
	@Override
	public void update(Crossborderalarmdetal crossborderalarmdetal){
		crossborderalarmdetalDao.update(crossborderalarmdetal);
	}
	
	@Override
	public void delete(Integer id){
		crossborderalarmdetalDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		crossborderalarmdetalDao.deleteBatch(ids);
	}

	@Override
	public void addBatch(List<Crossborderalarmdetal> list) {
		crossborderalarmdetalDao.addBatch(list);
		
	}
	
}
